<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Voodoo Shader Framework: VoodooShader::Core Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespace_voodoo_shader.html">VoodooShader</a>::<a class="el" href="class_voodoo_shader_1_1_core.html">Core</a>
  </div>
</div>
<div class="contents">
<h1>VoodooShader::Core Class Reference</h1><!-- doxytag: class="VoodooShader::Core" -->
<p><a class="el" href="class_voodoo_shader_1_1_core.html" title="Core engine class for the Voodoo Shader Framework.">Core</a> engine class for the Voodoo <a class="el" href="class_voodoo_shader_1_1_shader.html">Shader</a> Framework.  
<a href="#_details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_core_8hpp_source.html">Core.hpp</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for VoodooShader::Core:</div>
<div class="dynsection">
<div class="center"><img src="class_voodoo_shader_1_1_core__coll__graph.png" border="0" usemap="#_voodoo_shader_1_1_core_coll__map" alt="Collaboration graph"/></div>
<map name="_voodoo_shader_1_1_core_coll__map" id="_voodoo_shader_1_1_core_coll__map">
<area shape="rect" id="node2" href="class_voodoo_shader_1_1_material_manager.html" title="Manager class to simplify loading and using material (texture&#45;bound) shaders." alt="" coords="899,64,1109,93"/><area shape="rect" id="node4" href="class_voodoo_shader_1_1_shader.html" title="VoodooShader::Shader" alt="" coords="607,64,761,93"/><area shape="rect" id="node15" href="class_voodoo_shader_1_1_fullscreen_manager.html" title="Manager class to simplify loading and unloading fullscreen (post&#45;processing) shader..." alt="" coords="572,120,796,149"/><area shape="rect" id="node8" href="class_voodoo_shader_1_1_adapter.html" title="Graphics adapter class, responsible for interfacing the Voodoo Core with a given..." alt="" coords="5,52,165,81"/><area shape="rect" id="node10" href="class_voodoo_shader_1_1_logger.html" title="Logfile management class, capable of opening, closing, writing to and dumping log..." alt="" coords="8,148,163,177"/><area shape="rect" id="node12" href="class_voodoo_shader_1_1_formatter.html" title="Logging Format class." alt="" coords="272,161,443,191"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_voodoo_shader_1_1_core-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_core.html#af0acf5bd47cec7101ee661b2a0d26166">Core</a> (std::string logfile=&quot;Voodoo.log&quot;)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a new Voodoo <a class="el" href="class_voodoo_shader_1_1_core.html" title="Core engine class for the Voodoo Shader Framework.">Core</a>.  <a href="#af0acf5bd47cec7101ee661b2a0d26166"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_voodoo_shader_1_1_parameter.html">Parameter</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_core.html#a3537bdd4e6d8305d0ac2824a9583c50c">CreateParameter</a> (std::string name, bool type)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a global-level or virtual parameter.  <a href="#a3537bdd4e6d8305d0ac2824a9583c50c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_voodoo_shader_1_1_shader.html">Shader</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_core.html#a410d1295a8028d04b2a090442a23eef1">CreateShader</a> (std::string filename, char **args)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_voodoo_shader_1_1_texture.html">Texture</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_core.html#a73ad80fe86f1af575f19b8420bd54b0c">CreateTexture</a> (std::string name, void *data)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_voodoo_shader_1_1_adapter.html">Adapter</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_core.html#ade70edb7133b2d31e398d184e3d89873">GetAdapter</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieve the <a class="el" href="class_voodoo_shader_1_1_adapter.html" title="Graphics adapter class, responsible for interfacing the Voodoo Core with a given...">Adapter</a> attached to this <a class="el" href="class_voodoo_shader_1_1_core.html" title="Core engine class for the Voodoo Shader Framework.">Core</a>.  <a href="#ade70edb7133b2d31e398d184e3d89873"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">CGcontext&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_core.html#a151a795f6e2985b6a0712edd2d372d2d">GetCGContext</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_voodoo_shader_1_1_logger.html">Logger</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_core.html#a3dae50629a1c77bd5ac311829ba48c6b">GetLog</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_core.html#a9c389353ac90eac2ea3d2d059707945c">SetAdapter</a> (<a class="el" href="class_voodoo_shader_1_1_adapter.html">Adapter</a> *adapter)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Attach an <a class="el" href="class_voodoo_shader_1_1_adapter.html" title="Graphics adapter class, responsible for interfacing the Voodoo Core with a given...">Adapter</a> to this <a class="el" href="class_voodoo_shader_1_1_core.html" title="Core engine class for the Voodoo Shader Framework.">Core</a>.  <a href="#a9c389353ac90eac2ea3d2d059707945c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_core.html#a108ce1833150c730f863b3e7c9057f10">~Core</a> ()</td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_core.html#afe4273f2c615c3ee0928a907099fc5e7">CGErrorHandler</a> (CGcontext context, CGerror error, void *core)</td></tr>
<tr><td colspan="2"><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_voodoo_shader_1_1_adapter.html">Adapter</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_core.html#a207b84a4c192cde9aa31a38e595f6321">mAdapter</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">CGcontext&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_core.html#ae6691e6fd8e9901cec6b226bd339c952">mCGContext</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_voodoo_shader.html#a31c03472889593f1a19c9ca694a89d6c">CGEffectMap</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_core.html#a2ada467bdb542f9b82296dbeaad64b2b">mCGEffects</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_voodoo_shader_1_1_logger.html">Logger</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_core.html#adacd9e1dd5fed8048ee75ab3b038ca31">mLogger</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_voodoo_shader_1_1_fullscreen_manager.html">FullscreenManager</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_core.html#a27dfeed0923ab0433fa9f8e5f7ee69c5">mManagerFS</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_voodoo_shader_1_1_material_manager.html">MaterialManager</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_core.html#afa330334177d07206eb04dd45913634c">mManagerMat</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_voodoo_shader.html#aa43e8da8b171ac23bef69d1d47edd7bd">ParameterMap</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_core.html#a939d3bd29790ac2f4d173a9f2994d04a">mParameters</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_voodoo_shader.html#a9c26beae2e5e3148d62e92e0dd3c27fc">ShaderMap</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_core.html#acc643ec7e58236c13ad0c507d033a48d">mShaders</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_voodoo_shader.html#afc309ccaa660c5dcb2b01496c750247e">TextureMap</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voodoo_shader_1_1_core.html#a3a53f80376d6e93feaa9b0839c966bca">mTextures</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p><a class="el" href="class_voodoo_shader_1_1_core.html" title="Core engine class for the Voodoo Shader Framework.">Core</a> engine class for the Voodoo <a class="el" href="class_voodoo_shader_1_1_shader.html">Shader</a> Framework. </p>
<p>Provides a flexible, uniform API for a complete shader framework. Using various <a class="el" href="class_voodoo_shader_1_1_adapter.html">adapters</a>, it is possible to tie the Voodoo <a class="el" href="class_voodoo_shader_1_1_core.html" title="Core engine class for the Voodoo Shader Framework.">Core</a> into almost any game or program, during or after development. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af0acf5bd47cec7101ee661b2a0d26166"></a><!-- doxytag: member="VoodooShader::Core::Core" ref="af0acf5bd47cec7101ee661b2a0d26166" args="(std::string logfile=&quot;Voodoo.log&quot;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VoodooShader::Core::Core </td>
          <td>(</td>
          <td class="paramtype">std::string&nbsp;</td>
          <td class="paramname"> <em>logfile</em> = <code>&quot;Voodoo.log&quot;</code></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Create a new Voodoo <a class="el" href="class_voodoo_shader_1_1_core.html" title="Core engine class for the Voodoo Shader Framework.">Core</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>logfile</em>&nbsp;</td><td>The filename for this Core's log (will be used by most managers and connected adapters). </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A reference to the new core. </dd></dl>

</div>
</div>
<a class="anchor" id="a108ce1833150c730f863b3e7c9057f10"></a><!-- doxytag: member="VoodooShader::Core::~Core" ref="a108ce1833150c730f863b3e7c9057f10" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VoodooShader::Core::~Core </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="afe4273f2c615c3ee0928a907099fc5e7"></a><!-- doxytag: member="VoodooShader::Core::CGErrorHandler" ref="afe4273f2c615c3ee0928a907099fc5e7" args="(CGcontext context, CGerror error, void *core)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VoodooShader::Core::CGErrorHandler </td>
          <td>(</td>
          <td class="paramtype">CGcontext&nbsp;</td>
          <td class="paramname"> <em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">CGerror&nbsp;</td>
          <td class="paramname"> <em>error</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>core</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3537bdd4e6d8305d0ac2824a9583c50c"></a><!-- doxytag: member="VoodooShader::Core::CreateParameter" ref="a3537bdd4e6d8305d0ac2824a9583c50c" args="(std::string name, bool type)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_voodoo_shader_1_1_parameter.html">Parameter</a> * VoodooShader::Core::CreateParameter </td>
          <td>(</td>
          <td class="paramtype">std::string&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>type</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Creates a global-level or virtual parameter. </p>
<p>This parameter exists in the Cg runtime, but is not a part of any shader or program. This is useful for creating parameters that must be shared between programs. Only parameters created with this function may be used in <a class="el" href="class_voodoo_shader_1_1_parameter.html#a6a18070cb27fdc63df370c4b2446174f" title="Binds two parameters, forcing their values to be identical.">Parameter::Link</a>.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>The name for this parameter. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>type</em>&nbsp;</td><td>True for texture, false for float4 </td></tr>
  </table>
  </dd>
</dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000002">Todo:</a></b></dt><dd>Fix this to use a real parameter type parameter. </dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A new parameter. </dd></dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="class_voodoo_shader_1_1_exception.html" title="Core engine class for the Voodoo Shader Framework.">Exception</a></em>&nbsp;</td><td>if a parameter with the given name already exists. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a410d1295a8028d04b2a090442a23eef1"></a><!-- doxytag: member="VoodooShader::Core::CreateShader" ref="a410d1295a8028d04b2a090442a23eef1" args="(std::string filename, char **args)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_voodoo_shader_1_1_shader.html">Shader</a> * VoodooShader::Core::CreateShader </td>
          <td>(</td>
          <td class="paramtype">std::string&nbsp;</td>
          <td class="paramname"> <em>filename</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&nbsp;</td>
          <td class="paramname"> <em>args</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a73ad80fe86f1af575f19b8420bd54b0c"></a><!-- doxytag: member="VoodooShader::Core::CreateTexture" ref="a73ad80fe86f1af575f19b8420bd54b0c" args="(std::string name, void *data)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_voodoo_shader_1_1_texture.html">Texture</a> * VoodooShader::Core::CreateTexture </td>
          <td>(</td>
          <td class="paramtype">std::string&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>data</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ade70edb7133b2d31e398d184e3d89873"></a><!-- doxytag: member="VoodooShader::Core::GetAdapter" ref="ade70edb7133b2d31e398d184e3d89873" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_voodoo_shader_1_1_adapter.html">Adapter</a> * VoodooShader::Core::GetAdapter </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retrieve the <a class="el" href="class_voodoo_shader_1_1_adapter.html" title="Graphics adapter class, responsible for interfacing the Voodoo Core with a given...">Adapter</a> attached to this <a class="el" href="class_voodoo_shader_1_1_core.html" title="Core engine class for the Voodoo Shader Framework.">Core</a>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A pointer to the <a class="el" href="class_voodoo_shader_1_1_adapter.html" title="Graphics adapter class, responsible for interfacing the Voodoo Core with a given...">Adapter</a> or NULL if no <a class="el" href="class_voodoo_shader_1_1_adapter.html" title="Graphics adapter class, responsible for interfacing the Voodoo Core with a given...">Adapter</a> is attached. </dd></dl>

</div>
</div>
<a class="anchor" id="a151a795f6e2985b6a0712edd2d372d2d"></a><!-- doxytag: member="VoodooShader::Core::GetCGContext" ref="a151a795f6e2985b6a0712edd2d372d2d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CGcontext VoodooShader::Core::GetCGContext </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3dae50629a1c77bd5ac311829ba48c6b"></a><!-- doxytag: member="VoodooShader::Core::GetLog" ref="a3dae50629a1c77bd5ac311829ba48c6b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_voodoo_shader_1_1_logger.html">Logger</a> * VoodooShader::Core::GetLog </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a9c389353ac90eac2ea3d2d059707945c"></a><!-- doxytag: member="VoodooShader::Core::SetAdapter" ref="a9c389353ac90eac2ea3d2d059707945c" args="(Adapter *adapter)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VoodooShader::Core::SetAdapter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_voodoo_shader_1_1_adapter.html">Adapter</a> *&nbsp;</td>
          <td class="paramname"> <em>adapter</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Attach an <a class="el" href="class_voodoo_shader_1_1_adapter.html" title="Graphics adapter class, responsible for interfacing the Voodoo Core with a given...">Adapter</a> to this <a class="el" href="class_voodoo_shader_1_1_core.html" title="Core engine class for the Voodoo Shader Framework.">Core</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>adapter</em>&nbsp;</td><td>The <a class="el" href="class_voodoo_shader_1_1_adapter.html" title="Graphics adapter class, responsible for interfacing the Voodoo Core with a given...">Adapter</a> to attach (will be used for all graphics calls). </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="class_voodoo_shader_1_1_exception.html" title="Core engine class for the Voodoo Shader Framework.">Exception</a></em>&nbsp;</td><td>if an <a class="el" href="class_voodoo_shader_1_1_adapter.html" title="Graphics adapter class, responsible for interfacing the Voodoo Core with a given...">Adapter</a> is already connected to this <a class="el" href="class_voodoo_shader_1_1_core.html" title="Core engine class for the Voodoo Shader Framework.">Core</a>. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a207b84a4c192cde9aa31a38e595f6321"></a><!-- doxytag: member="VoodooShader::Core::mAdapter" ref="a207b84a4c192cde9aa31a38e595f6321" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_voodoo_shader_1_1_adapter.html">Adapter</a>* <a class="el" href="class_voodoo_shader_1_1_core.html#a207b84a4c192cde9aa31a38e595f6321">VoodooShader::Core::mAdapter</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ae6691e6fd8e9901cec6b226bd339c952"></a><!-- doxytag: member="VoodooShader::Core::mCGContext" ref="ae6691e6fd8e9901cec6b226bd339c952" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CGcontext <a class="el" href="class_voodoo_shader_1_1_core.html#ae6691e6fd8e9901cec6b226bd339c952">VoodooShader::Core::mCGContext</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2ada467bdb542f9b82296dbeaad64b2b"></a><!-- doxytag: member="VoodooShader::Core::mCGEffects" ref="a2ada467bdb542f9b82296dbeaad64b2b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_voodoo_shader.html#a31c03472889593f1a19c9ca694a89d6c">CGEffectMap</a> <a class="el" href="class_voodoo_shader_1_1_core.html#a2ada467bdb542f9b82296dbeaad64b2b">VoodooShader::Core::mCGEffects</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="adacd9e1dd5fed8048ee75ab3b038ca31"></a><!-- doxytag: member="VoodooShader::Core::mLogger" ref="adacd9e1dd5fed8048ee75ab3b038ca31" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_voodoo_shader_1_1_logger.html">Logger</a>* <a class="el" href="class_voodoo_shader_1_1_core.html#adacd9e1dd5fed8048ee75ab3b038ca31">VoodooShader::Core::mLogger</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a27dfeed0923ab0433fa9f8e5f7ee69c5"></a><!-- doxytag: member="VoodooShader::Core::mManagerFS" ref="a27dfeed0923ab0433fa9f8e5f7ee69c5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_voodoo_shader_1_1_fullscreen_manager.html">FullscreenManager</a>* <a class="el" href="class_voodoo_shader_1_1_core.html#a27dfeed0923ab0433fa9f8e5f7ee69c5">VoodooShader::Core::mManagerFS</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="afa330334177d07206eb04dd45913634c"></a><!-- doxytag: member="VoodooShader::Core::mManagerMat" ref="afa330334177d07206eb04dd45913634c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_voodoo_shader_1_1_material_manager.html">MaterialManager</a>* <a class="el" href="class_voodoo_shader_1_1_core.html#afa330334177d07206eb04dd45913634c">VoodooShader::Core::mManagerMat</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a939d3bd29790ac2f4d173a9f2994d04a"></a><!-- doxytag: member="VoodooShader::Core::mParameters" ref="a939d3bd29790ac2f4d173a9f2994d04a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_voodoo_shader.html#aa43e8da8b171ac23bef69d1d47edd7bd">ParameterMap</a> <a class="el" href="class_voodoo_shader_1_1_core.html#a939d3bd29790ac2f4d173a9f2994d04a">VoodooShader::Core::mParameters</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="acc643ec7e58236c13ad0c507d033a48d"></a><!-- doxytag: member="VoodooShader::Core::mShaders" ref="acc643ec7e58236c13ad0c507d033a48d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_voodoo_shader.html#a9c26beae2e5e3148d62e92e0dd3c27fc">ShaderMap</a> <a class="el" href="class_voodoo_shader_1_1_core.html#acc643ec7e58236c13ad0c507d033a48d">VoodooShader::Core::mShaders</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a3a53f80376d6e93feaa9b0839c966bca"></a><!-- doxytag: member="VoodooShader::Core::mTextures" ref="a3a53f80376d6e93feaa9b0839c966bca" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_voodoo_shader.html#afc309ccaa660c5dcb2b01496c750247e">TextureMap</a> <a class="el" href="class_voodoo_shader_1_1_core.html#a3a53f80376d6e93feaa9b0839c966bca">VoodooShader::Core::mTextures</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>K:/VoodooShader/Framework/<a class="el" href="_core_8hpp_source.html">Core.hpp</a></li>
<li>K:/VoodooShader/Framework/<a class="el" href="_core_8cpp.html">Core.cpp</a></li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Generated on Thu Oct 14 23:19:05 2010 for Voodoo Shader Framework by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
